github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-grafana-dashboards/dashboards/Verrazzano Application/verrazzano-application-dashboard.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": "-- Grafana --", 7 "enable": true, 8 "hide": true, 9 "iconColor": "rgba(0, 211, 255, 1)", 10 "name": "Annotations & Alerts", 11 "type": "dashboard" 12 } 13 ] 14 }, 15 "editable": true, 16 "gnetId": null, 17 "graphTooltip": 0, 18 "id": 39, 19 "iteration": 1675856419652, 20 "links": [], 21 "panels": [ 22 { 23 "collapsed": false, 24 "datasource": null, 25 "gridPos": { 26 "h": 1, 27 "w": 24, 28 "x": 0, 29 "y": 0 30 }, 31 "id": 6, 32 "panels": [], 33 "title": "Summary", 34 "type": "row" 35 }, 36 { 37 "aliasColors": {}, 38 "bars": false, 39 "dashLength": 10, 40 "dashes": false, 41 "datasource": null, 42 "fieldConfig": { 43 "defaults": {}, 44 "overrides": [] 45 }, 46 "fill": 2, 47 "fillGradient": 0, 48 "gridPos": { 49 "h": 8, 50 "w": 12, 51 "x": 0, 52 "y": 1 53 }, 54 "hiddenSeries": false, 55 "id": 8, 56 "legend": { 57 "alignAsTable": true, 58 "avg": false, 59 "current": false, 60 "max": false, 61 "min": false, 62 "rightSide": true, 63 "show": true, 64 "total": false, 65 "values": false 66 }, 67 "lines": true, 68 "linewidth": 1, 69 "nullPointMode": "null", 70 "options": { 71 "alertThreshold": true 72 }, 73 "percentage": false, 74 "pluginVersion": "7.5.17", 75 "pointradius": 0.5, 76 "points": false, 77 "renderer": "flot", 78 "seriesOverrides": [], 79 "spaceLength": 10, 80 "stack": false, 81 "steppedLine": false, 82 "targets": [ 83 { 84 "exemplar": false, 85 "expr": "sum((sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{container=~\".+\"}) by (pod)) * on (pod) group_right\nkube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (label_app_oam_dev_component)\n", 86 "interval": "", 87 "legendFormat": "{{label_app_oam_dev_component}}", 88 "refId": "A" 89 } 90 ], 91 "thresholds": [], 92 "timeFrom": null, 93 "timeRegions": [], 94 "timeShift": null, 95 "title": "CPU(Used: $used_cpu cores, Available: $available_cpu cores)", 96 "tooltip": { 97 "shared": false, 98 "sort": 1, 99 "value_type": "individual" 100 }, 101 "transformations": [ 102 { 103 "id": "calculateField", 104 "options": {} 105 } 106 ], 107 "type": "graph", 108 "xaxis": { 109 "buckets": null, 110 "mode": "time", 111 "name": null, 112 "show": true, 113 "values": [] 114 }, 115 "yaxes": [ 116 { 117 "$$hashKey": "object:119", 118 "format": "short", 119 "label": "", 120 "logBase": 1, 121 "max": null, 122 "min": null, 123 "show": true 124 }, 125 { 126 "$$hashKey": "object:120", 127 "format": "short", 128 "label": null, 129 "logBase": 1, 130 "max": null, 131 "min": null, 132 "show": true 133 } 134 ], 135 "yaxis": { 136 "align": false, 137 "alignLevel": null 138 } 139 }, 140 { 141 "aliasColors": {}, 142 "bars": false, 143 "dashLength": 10, 144 "dashes": false, 145 "datasource": null, 146 "fieldConfig": { 147 "defaults": { 148 "unit": "decbytes" 149 }, 150 "overrides": [] 151 }, 152 "fill": 2, 153 "fillGradient": 0, 154 "gridPos": { 155 "h": 8, 156 "w": 12, 157 "x": 12, 158 "y": 1 159 }, 160 "hiddenSeries": false, 161 "id": 36, 162 "legend": { 163 "alignAsTable": true, 164 "avg": false, 165 "current": false, 166 "max": false, 167 "min": false, 168 "rightSide": true, 169 "show": true, 170 "total": false, 171 "values": false 172 }, 173 "lines": true, 174 "linewidth": 1, 175 "nullPointMode": "null", 176 "options": { 177 "alertThreshold": true 178 }, 179 "percentage": false, 180 "pluginVersion": "7.5.17", 181 "pointradius": 2, 182 "points": false, 183 "renderer": "flot", 184 "seriesOverrides": [], 185 "spaceLength": 10, 186 "stack": false, 187 "steppedLine": false, 188 "targets": [ 189 { 190 "exemplar": false, 191 "expr": "sum((sum(max(container_memory_working_set_bytes{verrazzano_cluster=~\"$vzcluster\", container!=\"\", image!=\"\"}) by (container, pod)) by (pod)) * on(pod) group_right kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (label_app_oam_dev_component)", 192 "interval": "", 193 "intervalFactor": 1, 194 "legendFormat": "{{label_app_oam_dev_component}}", 195 "refId": "A" 196 } 197 ], 198 "thresholds": [], 199 "timeFrom": null, 200 "timeRegions": [], 201 "timeShift": null, 202 "title": "Memory(Used: $used_memory GiB, Available: $available_memory GiB)", 203 "tooltip": { 204 "shared": false, 205 "sort": 1, 206 "value_type": "individual" 207 }, 208 "transformations": [ 209 { 210 "id": "calculateField", 211 "options": {} 212 } 213 ], 214 "type": "graph", 215 "xaxis": { 216 "buckets": null, 217 "mode": "time", 218 "name": null, 219 "show": true, 220 "values": [] 221 }, 222 "yaxes": [ 223 { 224 "$$hashKey": "object:119", 225 "format": "decbytes", 226 "label": null, 227 "logBase": 1, 228 "max": null, 229 "min": null, 230 "show": true 231 }, 232 { 233 "$$hashKey": "object:120", 234 "format": "short", 235 "label": null, 236 "logBase": 1, 237 "max": null, 238 "min": null, 239 "show": true 240 } 241 ], 242 "yaxis": { 243 "align": false, 244 "alignLevel": null 245 } 246 }, 247 { 248 "datasource": null, 249 "fieldConfig": { 250 "defaults": { 251 "color": { 252 "mode": "thresholds" 253 }, 254 "custom": { 255 "align": null, 256 "filterable": false 257 }, 258 "mappings": [], 259 "thresholds": { 260 "mode": "absolute", 261 "steps": [ 262 { 263 "color": "green", 264 "value": null 265 }, 266 { 267 "color": "red", 268 "value": 80 269 } 270 ] 271 } 272 }, 273 "overrides": [ 274 { 275 "matcher": { 276 "id": "byName", 277 "options": "Memory Usage (bytes)" 278 }, 279 "properties": [ 280 { 281 "id": "unit", 282 "value": "decbytes" 283 } 284 ] 285 }, 286 { 287 "matcher": { 288 "id": "byName", 289 "options": "Status" 290 }, 291 "properties": [ 292 { 293 "id": "mappings", 294 "value": [ 295 { 296 "from": "1", 297 "id": 1, 298 "text": "Ready", 299 "to": "1", 300 "type": 1, 301 "value": "1" 302 }, 303 { 304 "from": "", 305 "id": 2, 306 "text": "Not Ready", 307 "to": "", 308 "type": 1, 309 "value": "0" 310 } 311 ] 312 } 313 ] 314 } 315 ] 316 }, 317 "gridPos": { 318 "h": 7, 319 "w": 24, 320 "x": 0, 321 "y": 9 322 }, 323 "id": 21, 324 "options": { 325 "showHeader": true, 326 "sortBy": [] 327 }, 328 "pluginVersion": "7.5.17", 329 "targets": [ 330 { 331 "exemplar": true, 332 "expr": "kube_pod_info and on (pod)\nkube_pod_labels{verrazzano_cluster=\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}", 333 "format": "table", 334 "instant": true, 335 "interval": "", 336 "legendFormat": "", 337 "refId": "Pod Info" 338 }, 339 { 340 "exemplar": true, 341 "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate and on (pod)\nkube_pod_labels{verrazzano_cluster=\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (pod)", 342 "format": "table", 343 "hide": false, 344 "instant": true, 345 "interval": "", 346 "legendFormat": "", 347 "refId": "CPU Usage" 348 }, 349 { 350 "exemplar": true, 351 "expr": "sum(max(container_memory_working_set_bytes{container!=\"\", image!=\"\"} and on (pod)\nkube_pod_labels{verrazzano_cluster=\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (container, pod)) by (pod)", 352 "format": "table", 353 "hide": false, 354 "instant": true, 355 "interval": "", 356 "legendFormat": "", 357 "refId": "Memory Usage" 358 }, 359 { 360 "exemplar": true, 361 "expr": "sum(kube_pod_container_status_restarts_total and on (pod)\nkube_pod_labels{verrazzano_cluster=\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (pod)", 362 "format": "table", 363 "hide": false, 364 "instant": true, 365 "interval": "", 366 "legendFormat": "", 367 "refId": "Restarts" 368 }, 369 { 370 "exemplar": true, 371 "expr": "max(kube_pod_status_ready{condition=\"true\"} and on (pod)\nkube_pod_labels{verrazzano_cluster=\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (pod)", 372 "format": "table", 373 "hide": false, 374 "instant": true, 375 "interval": "", 376 "legendFormat": "", 377 "refId": "Status" 378 } 379 ], 380 "timeFrom": null, 381 "timeShift": null, 382 "title": "Pods", 383 "transformations": [ 384 { 385 "id": "labelsToFields", 386 "options": {} 387 }, 388 { 389 "id": "seriesToColumns", 390 "options": { 391 "byField": "pod" 392 } 393 }, 394 { 395 "id": "filterFieldsByName", 396 "options": { 397 "include": { 398 "names": [ 399 "label_app_oam_dev_component", 400 "node", 401 "pod", 402 "Value #CPU Usage", 403 "Value #Memory Usage", 404 "Value #Restarts", 405 "Value #Status" 406 ] 407 } 408 } 409 }, 410 { 411 "id": "organize", 412 "options": { 413 "excludeByName": {}, 414 "indexByName": { 415 "Value #CPU Usage": 5, 416 "Value #Memory Usage": 6, 417 "Value #Restarts": 4, 418 "Value #Status": 3, 419 "label_app_oam_dev_component": 1, 420 "node": 2, 421 "pod": 0 422 }, 423 "renameByName": { 424 "Value #B": "CPU Usage", 425 "Value #C": "Memory Usage", 426 "Value #CPU Limits %": "CPU Limits %", 427 "Value #CPU Request %": "CPU Requests %", 428 "Value #CPU Requests %": "CPU Requests %", 429 "Value #CPU Usage": "CPU Usage (cores)", 430 "Value #Memory Limits %": "Memory Limits %", 431 "Value #Memory Request %": "CPU Limits %", 432 "Value #Memory Requests %": "Memory Requests %", 433 "Value #Memory Usage": "Memory Usage (bytes)", 434 "Value #Restarts": "Restarts", 435 "Value #Status": "Status", 436 "created_by_kind": "Owner Type", 437 "created_by_name": "Owner Name", 438 "instance": "Instance", 439 "label_app_oam_dev_component": "Component", 440 "namespace": "Namespace", 441 "node": "Node", 442 "pod": "Pod", 443 "pod_ip": "Pod IP", 444 "service": "" 445 } 446 } 447 } 448 ], 449 "type": "table" 450 }, 451 { 452 "collapsed": false, 453 "datasource": null, 454 "gridPos": { 455 "h": 1, 456 "w": 24, 457 "x": 0, 458 "y": 16 459 }, 460 "id": 40, 461 "panels": [], 462 "title": "Storage", 463 "type": "row" 464 }, 465 { 466 "aliasColors": {}, 467 "bars": false, 468 "dashLength": 10, 469 "dashes": false, 470 "datasource": null, 471 "description": "", 472 "fieldConfig": { 473 "defaults": {}, 474 "overrides": [] 475 }, 476 "fill": 2, 477 "fillGradient": 0, 478 "gridPos": { 479 "h": 8, 480 "w": 12, 481 "x": 0, 482 "y": 17 483 }, 484 "hiddenSeries": false, 485 "id": 42, 486 "legend": { 487 "alignAsTable": true, 488 "avg": false, 489 "current": false, 490 "hideEmpty": true, 491 "hideZero": true, 492 "max": false, 493 "min": false, 494 "rightSide": true, 495 "show": true, 496 "sideWidth": 150, 497 "sort": "max", 498 "sortDesc": false, 499 "total": false, 500 "values": false 501 }, 502 "lines": true, 503 "linewidth": 1, 504 "nullPointMode": "null", 505 "options": { 506 "alertThreshold": true 507 }, 508 "percentage": false, 509 "pluginVersion": "7.5.17", 510 "pointradius": 0.5, 511 "points": false, 512 "renderer": "flot", 513 "seriesOverrides": [ 514 { 515 "$$hashKey": "object:763" 516 } 517 ], 518 "spaceLength": 10, 519 "stack": false, 520 "steppedLine": false, 521 "targets": [ 522 { 523 "exemplar": false, 524 "expr": "sum((sum(container_fs_usage_bytes{verrazzano_cluster=~\"$vzcluster\"}) by (pod)) * on (pod) group_right kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\",label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (label_app_oam_dev_component)", 525 "format": "time_series", 526 "instant": false, 527 "interval": "", 528 "legendFormat": "{{label_app_oam_dev_component}}", 529 "refId": "A" 530 } 531 ], 532 "thresholds": [], 533 "timeFrom": null, 534 "timeRegions": [], 535 "timeShift": null, 536 "title": "Disk(Used: $used_storage GiB, Available: $available_storage GiB)", 537 "tooltip": { 538 "shared": false, 539 "sort": 1, 540 "value_type": "individual" 541 }, 542 "transformations": [ 543 { 544 "id": "calculateField", 545 "options": {} 546 } 547 ], 548 "type": "graph", 549 "xaxis": { 550 "buckets": null, 551 "mode": "time", 552 "name": null, 553 "show": true, 554 "values": [] 555 }, 556 "yaxes": [ 557 { 558 "$$hashKey": "object:309", 559 "decimals": null, 560 "format": "bytes", 561 "label": "", 562 "logBase": 1, 563 "max": null, 564 "min": null, 565 "show": true 566 }, 567 { 568 "$$hashKey": "object:310", 569 "format": "short", 570 "label": null, 571 "logBase": 1, 572 "max": null, 573 "min": null, 574 "show": false 575 } 576 ], 577 "yaxis": { 578 "align": true, 579 "alignLevel": null 580 } 581 }, 582 { 583 "aliasColors": {}, 584 "bars": false, 585 "dashLength": 10, 586 "dashes": false, 587 "datasource": null, 588 "description": "", 589 "fieldConfig": { 590 "defaults": {}, 591 "overrides": [] 592 }, 593 "fill": 2, 594 "fillGradient": 0, 595 "gridPos": { 596 "h": 8, 597 "w": 12, 598 "x": 12, 599 "y": 17 600 }, 601 "hiddenSeries": false, 602 "id": 44, 603 "legend": { 604 "alignAsTable": true, 605 "avg": false, 606 "current": false, 607 "hideEmpty": true, 608 "hideZero": true, 609 "max": false, 610 "min": false, 611 "rightSide": true, 612 "show": true, 613 "sideWidth": 150, 614 "sort": "max", 615 "sortDesc": false, 616 "total": false, 617 "values": false 618 }, 619 "lines": true, 620 "linewidth": 1, 621 "nullPointMode": "null", 622 "options": { 623 "alertThreshold": true 624 }, 625 "percentage": false, 626 "pluginVersion": "7.5.17", 627 "pointradius": 0.5, 628 "points": false, 629 "renderer": "flot", 630 "seriesOverrides": [ 631 { 632 "$$hashKey": "object:763" 633 } 634 ], 635 "spaceLength": 10, 636 "stack": false, 637 "steppedLine": false, 638 "targets": [ 639 { 640 "exemplar": false, 641 "expr": "sum((sum(kube_pod_spec_volumes_persistentvolumeclaims_info{verrazzano_cluster=\"$vzcluster\"} * on(persistentvolumeclaim, namespace) group_left kubelet_volume_stats_used_bytes{verrazzano_cluster=\"$vzcluster\"}) by (persistentvolumeclaim,pod)) * on(pod) group_left kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}) by (persistentvolumeclaim) ", 642 "format": "time_series", 643 "instant": false, 644 "interval": "", 645 "legendFormat": "{{persistentvolumeclaim}}", 646 "refId": "A" 647 } 648 ], 649 "thresholds": [], 650 "timeFrom": null, 651 "timeRegions": [], 652 "timeShift": null, 653 "title": "PVC(Used: $used_pvc GiB, Available: $available_pvc GiB)", 654 "tooltip": { 655 "shared": false, 656 "sort": 1, 657 "value_type": "individual" 658 }, 659 "transformations": [ 660 { 661 "id": "calculateField", 662 "options": {} 663 } 664 ], 665 "type": "graph", 666 "xaxis": { 667 "buckets": null, 668 "mode": "time", 669 "name": null, 670 "show": true, 671 "values": [] 672 }, 673 "yaxes": [ 674 { 675 "$$hashKey": "object:309", 676 "decimals": null, 677 "format": "bytes", 678 "label": "", 679 "logBase": 1, 680 "max": null, 681 "min": null, 682 "show": true 683 }, 684 { 685 "$$hashKey": "object:310", 686 "format": "short", 687 "label": null, 688 "logBase": 1, 689 "max": null, 690 "min": null, 691 "show": false 692 } 693 ], 694 "yaxis": { 695 "align": true, 696 "alignLevel": null 697 } 698 }, 699 { 700 "collapsed": false, 701 "datasource": null, 702 "gridPos": { 703 "h": 1, 704 "w": 24, 705 "x": 0, 706 "y": 25 707 }, 708 "id": 4, 709 "panels": [], 710 "title": "Requests", 711 "type": "row" 712 }, 713 { 714 "aliasColors": {}, 715 "bars": false, 716 "dashLength": 10, 717 "dashes": false, 718 "datasource": null, 719 "description": "", 720 "fieldConfig": { 721 "defaults": {}, 722 "overrides": [] 723 }, 724 "fill": 1, 725 "fillGradient": 0, 726 "gridPos": { 727 "h": 8, 728 "w": 12, 729 "x": 0, 730 "y": 26 731 }, 732 "hiddenSeries": false, 733 "id": 37, 734 "legend": { 735 "alignAsTable": true, 736 "avg": false, 737 "current": false, 738 "max": false, 739 "min": false, 740 "rightSide": true, 741 "show": true, 742 "total": false, 743 "values": false 744 }, 745 "lines": true, 746 "linewidth": 1, 747 "nullPointMode": "null", 748 "options": { 749 "alertThreshold": true 750 }, 751 "percentage": false, 752 "pluginVersion": "7.5.17", 753 "pointradius": 2, 754 "points": false, 755 "renderer": "flot", 756 "seriesOverrides": [], 757 "spaceLength": 10, 758 "stack": false, 759 "steppedLine": false, 760 "targets": [ 761 { 762 "exemplar": true, 763 "expr": "sum((sum(rate(istio_requests_total{verrazzano_cluster=~\"$vzcluster\"}[1m])) by (destination_service_name)) * on (destination_service_name) group_right label_replace(kube_service_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\",label_app_oam_dev_component=~\"$component\"}, \"destination_service_name\", \"$1\", \"service\", \"(.+)\")) by (label_app_oam_dev_component)", 764 "interval": "", 765 "legendFormat": "{{label_app_oam_dev_component}}", 766 "refId": "A" 767 } 768 ], 769 "thresholds": [], 770 "timeFrom": null, 771 "timeRegions": [], 772 "timeShift": null, 773 "title": "HTTP Requests/second", 774 "tooltip": { 775 "shared": false, 776 "sort": 0, 777 "value_type": "individual" 778 }, 779 "type": "graph", 780 "xaxis": { 781 "buckets": null, 782 "mode": "time", 783 "name": null, 784 "show": true, 785 "values": [] 786 }, 787 "yaxes": [ 788 { 789 "format": "short", 790 "label": null, 791 "logBase": 1, 792 "max": null, 793 "min": null, 794 "show": true 795 }, 796 { 797 "format": "short", 798 "label": null, 799 "logBase": 1, 800 "max": null, 801 "min": null, 802 "show": true 803 } 804 ], 805 "yaxis": { 806 "align": false, 807 "alignLevel": null 808 } 809 }, 810 { 811 "aliasColors": {}, 812 "bars": true, 813 "dashLength": 10, 814 "dashes": false, 815 "datasource": null, 816 "description": "Total Requests per second divided by Requests with 5xx responses per second", 817 "fieldConfig": { 818 "defaults": {}, 819 "overrides": [] 820 }, 821 "fill": 1, 822 "fillGradient": 0, 823 "gridPos": { 824 "h": 8, 825 "w": 12, 826 "x": 12, 827 "y": 26 828 }, 829 "hiddenSeries": false, 830 "id": 38, 831 "legend": { 832 "alignAsTable": true, 833 "avg": false, 834 "current": false, 835 "max": false, 836 "min": false, 837 "rightSide": true, 838 "show": true, 839 "total": false, 840 "values": false 841 }, 842 "lines": false, 843 "linewidth": 1, 844 "nullPointMode": "null", 845 "options": { 846 "alertThreshold": true 847 }, 848 "percentage": false, 849 "pluginVersion": "7.5.17", 850 "pointradius": 2, 851 "points": false, 852 "renderer": "flot", 853 "seriesOverrides": [], 854 "spaceLength": 10, 855 "stack": false, 856 "steppedLine": false, 857 "targets": [ 858 { 859 "exemplar": true, 860 "expr": "100 * sum((sum(rate(istio_requests_total{verrazzano_cluster=~\"$vzcluster\", response_code=~\"5.*\"}[$__rate_interval])) by (destination_service_name)) * on (destination_service_name) group_right label_replace(kube_service_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\",label_app_oam_dev_component=~\"$component\"}, \"destination_service_name\", \"$1\", \"service\", \"(.+)\")) by (label_app_oam_dev_component) / sum((sum(rate(istio_requests_total{verrazzano_cluster=~\"$vzcluster\"}[$__rate_interval])) by (destination_service_name)) * on (destination_service_name) group_right label_replace(kube_service_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\",label_app_oam_dev_component=~\"$component\"}, \"destination_service_name\", \"$1\", \"service\", \"(.+)\")) by (label_app_oam_dev_component)", 861 "interval": "", 862 "legendFormat": "{{label_app_oam_dev_component}}", 863 "refId": "A" 864 } 865 ], 866 "thresholds": [], 867 "timeFrom": null, 868 "timeRegions": [], 869 "timeShift": null, 870 "title": "5xx Response Rate", 871 "tooltip": { 872 "shared": false, 873 "sort": 0, 874 "value_type": "individual" 875 }, 876 "type": "graph", 877 "xaxis": { 878 "buckets": null, 879 "mode": "time", 880 "name": null, 881 "show": true, 882 "values": [] 883 }, 884 "yaxes": [ 885 { 886 "$$hashKey": "object:796", 887 "decimals": null, 888 "format": "percent", 889 "label": "", 890 "logBase": 1, 891 "max": "100", 892 "min": null, 893 "show": true 894 }, 895 { 896 "$$hashKey": "object:797", 897 "format": "short", 898 "label": null, 899 "logBase": 1, 900 "max": null, 901 "min": null, 902 "show": true 903 } 904 ], 905 "yaxis": { 906 "align": false, 907 "alignLevel": null 908 } 909 }, 910 { 911 "aliasColors": {}, 912 "bars": false, 913 "dashLength": 10, 914 "dashes": false, 915 "datasource": null, 916 "fieldConfig": { 917 "defaults": {}, 918 "overrides": [] 919 }, 920 "fill": 1, 921 "fillGradient": 0, 922 "gridPos": { 923 "h": 8, 924 "w": 12, 925 "x": 0, 926 "y": 34 927 }, 928 "hiddenSeries": false, 929 "id": 19, 930 "legend": { 931 "alignAsTable": true, 932 "avg": false, 933 "current": false, 934 "max": false, 935 "min": false, 936 "rightSide": true, 937 "show": true, 938 "total": false, 939 "values": false 940 }, 941 "lines": true, 942 "linewidth": 1, 943 "nullPointMode": "null", 944 "options": { 945 "alertThreshold": true 946 }, 947 "percentage": false, 948 "pluginVersion": "7.5.17", 949 "pointradius": 2, 950 "points": false, 951 "renderer": "flot", 952 "seriesOverrides": [], 953 "spaceLength": 10, 954 "stack": false, 955 "steppedLine": false, 956 "targets": [ 957 { 958 "exemplar": true, 959 "expr": "sum((sum(istio_request_duration_milliseconds_sum{verrazzano_cluster=~\"$vzcluster\"}) by (destination_service_name))* on (destination_service_name) group_right label_replace(kube_service_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\",label_app_oam_dev_component=~\"$component\"}, \"destination_service_name\", \"$1\", \"service\", \"(.+)\")) by (label_app_oam_dev_component)/sum((sum(istio_request_duration_milliseconds_count{verrazzano_cluster=~\"$vzcluster\"}) by (destination_service_name))* on (destination_service_name) group_right label_replace(kube_service_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\",label_app_oam_dev_component=~\"$component\"}, \"destination_service_name\", \"$1\", \"service\", \"(.+)\")) by (label_app_oam_dev_component)", 960 "interval": "", 961 "legendFormat": "{{label_app_oam_dev_component}}", 962 "refId": "A" 963 } 964 ], 965 "thresholds": [], 966 "timeFrom": null, 967 "timeRegions": [], 968 "timeShift": null, 969 "title": "Avg Request Duration (ms)", 970 "tooltip": { 971 "shared": false, 972 "sort": 0, 973 "value_type": "individual" 974 }, 975 "type": "graph", 976 "xaxis": { 977 "buckets": null, 978 "mode": "time", 979 "name": null, 980 "show": true, 981 "values": [] 982 }, 983 "yaxes": [ 984 { 985 "format": "short", 986 "label": null, 987 "logBase": 1, 988 "max": null, 989 "min": null, 990 "show": true 991 }, 992 { 993 "format": "short", 994 "label": null, 995 "logBase": 1, 996 "max": null, 997 "min": null, 998 "show": true 999 } 1000 ], 1001 "yaxis": { 1002 "align": false, 1003 "alignLevel": null 1004 } 1005 } 1006 ], 1007 "refresh": "5s", 1008 "schemaVersion": 27, 1009 "style": "dark", 1010 "tags": [], 1011 "templating": { 1012 "list": [ 1013 { 1014 "allValue": null, 1015 "current": { 1016 "selected": false, 1017 "text": "local", 1018 "value": "local" 1019 }, 1020 "datasource": null, 1021 "definition": "label_values(verrazzano_cluster)", 1022 "description": null, 1023 "error": null, 1024 "hide": 0, 1025 "includeAll": false, 1026 "label": "Verrazzano Cluster", 1027 "multi": false, 1028 "name": "vzcluster", 1029 "options": [], 1030 "query": { 1031 "query": "label_values(verrazzano_cluster)", 1032 "refId": "StandardVariableQuery" 1033 }, 1034 "refresh": 2, 1035 "regex": "", 1036 "skipUrlSync": false, 1037 "sort": 0, 1038 "tagValuesQuery": "", 1039 "tags": [], 1040 "tagsQuery": "", 1041 "type": "query", 1042 "useTags": false 1043 }, 1044 { 1045 "allValue": null, 1046 "current": {}, 1047 "datasource": null, 1048 "definition": "label_values(up{verrazzano_cluster=~\"$vzcluster\"}, app_oam_dev_name)", 1049 "description": null, 1050 "error": null, 1051 "hide": 0, 1052 "includeAll": false, 1053 "label": "Application", 1054 "multi": false, 1055 "name": "application", 1056 "options": [], 1057 "query": { 1058 "query": "label_values(up{verrazzano_cluster=~\"$vzcluster\"}, app_oam_dev_name)", 1059 "refId": "StandardVariableQuery" 1060 }, 1061 "refresh": 2, 1062 "regex": "", 1063 "skipUrlSync": false, 1064 "sort": 1, 1065 "tagValuesQuery": "", 1066 "tags": [], 1067 "tagsQuery": "", 1068 "type": "query", 1069 "useTags": false 1070 }, 1071 { 1072 "allValue": null, 1073 "current": {}, 1074 "datasource": null, 1075 "definition": "label_values(up{verrazzano_cluster=~\"$vzcluster\", app_oam_dev_name=\"$application\"}, app_oam_dev_component)", 1076 "description": null, 1077 "error": null, 1078 "hide": 0, 1079 "includeAll": true, 1080 "label": "Component", 1081 "multi": true, 1082 "name": "component", 1083 "options": [], 1084 "query": { 1085 "query": "label_values(up{verrazzano_cluster=~\"$vzcluster\", app_oam_dev_name=\"$application\"}, app_oam_dev_component)", 1086 "refId": "StandardVariableQuery" 1087 }, 1088 "refresh": 2, 1089 "regex": "", 1090 "skipUrlSync": false, 1091 "sort": 1, 1092 "tagValuesQuery": "", 1093 "tags": [], 1094 "tagsQuery": "", 1095 "type": "query", 1096 "useTags": false 1097 }, 1098 { 1099 "allValue": null, 1100 "current": {}, 1101 "datasource": null, 1102 "definition": "query_result(round(sum((sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{container=~\".+\"}) by (pod)) and on (pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}),0.01))", 1103 "description": null, 1104 "error": null, 1105 "hide": 2, 1106 "includeAll": false, 1107 "label": null, 1108 "multi": false, 1109 "name": "used_cpu", 1110 "options": [], 1111 "query": { 1112 "query": "query_result(round(sum((sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{container=~\".+\"}) by (pod)) and on (pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"}),0.01))", 1113 "refId": "StandardVariableQuery" 1114 }, 1115 "refresh": 2, 1116 "regex": ".*\\s(.*?)\\s.*", 1117 "skipUrlSync": false, 1118 "sort": 0, 1119 "tagValuesQuery": "", 1120 "tags": [], 1121 "tagsQuery": "", 1122 "type": "query", 1123 "useTags": false 1124 }, 1125 { 1126 "allValue": null, 1127 "current": {}, 1128 "datasource": null, 1129 "definition": "query_result(round(sum(sum(max(container_memory_working_set_bytes{verrazzano_cluster=~\"$vzcluster\", container!=\"\", image!=\"\"}) by (container, pod)) by (pod) and on(pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024,0.01))", 1130 "description": null, 1131 "error": null, 1132 "hide": 2, 1133 "includeAll": false, 1134 "label": null, 1135 "multi": false, 1136 "name": "used_memory", 1137 "options": [ 1138 { 1139 "selected": true, 1140 "text": "0.64", 1141 "value": "0.64" 1142 } 1143 ], 1144 "query": { 1145 "query": "query_result(round(sum(sum(max(container_memory_working_set_bytes{verrazzano_cluster=~\"$vzcluster\", container!=\"\", image!=\"\"}) by (container, pod)) by (pod) and on(pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024,0.01))", 1146 "refId": "StandardVariableQuery" 1147 }, 1148 "refresh": 0, 1149 "regex": ".*\\s(.*?)\\s.*", 1150 "skipUrlSync": false, 1151 "sort": 0, 1152 "tagValuesQuery": "", 1153 "tags": [], 1154 "tagsQuery": "", 1155 "type": "query", 1156 "useTags": false 1157 }, 1158 { 1159 "allValue": null, 1160 "current": {}, 1161 "datasource": null, 1162 "definition": "query_result(round(sum(sum(container_fs_usage_bytes{verrazzano_cluster=~\"$vzcluster\"}) by (pod) and on (pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\",label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024, 0.01))", 1163 "description": null, 1164 "error": null, 1165 "hide": 2, 1166 "includeAll": false, 1167 "label": null, 1168 "multi": false, 1169 "name": "used_storage", 1170 "options": [], 1171 "query": { 1172 "query": "query_result(round(sum(sum(container_fs_usage_bytes{verrazzano_cluster=~\"$vzcluster\"}) by (pod) and on (pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\",label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024, 0.01))", 1173 "refId": "StandardVariableQuery" 1174 }, 1175 "refresh": 2, 1176 "regex": ".*\\s(.*?)\\s.*", 1177 "skipUrlSync": false, 1178 "sort": 0, 1179 "tagValuesQuery": "", 1180 "tags": [], 1181 "tagsQuery": "", 1182 "type": "query", 1183 "useTags": false 1184 }, 1185 { 1186 "allValue": null, 1187 "current": {}, 1188 "datasource": null, 1189 "definition": "query_result(round(sum(kube_pod_spec_volumes_persistentvolumeclaims_info{verrazzano_cluster=\"$vzcluster\"} * on(persistentvolumeclaim, namespace) group_left kubelet_volume_stats_used_bytes{verrazzano_cluster=\"$vzcluster\"} and on(pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024,0.01))", 1190 "description": null, 1191 "error": null, 1192 "hide": 2, 1193 "includeAll": false, 1194 "label": null, 1195 "multi": false, 1196 "name": "used_pvc", 1197 "options": [], 1198 "query": { 1199 "query": "query_result(round(sum(kube_pod_spec_volumes_persistentvolumeclaims_info{verrazzano_cluster=\"$vzcluster\"} * on(persistentvolumeclaim, namespace) group_left kubelet_volume_stats_used_bytes{verrazzano_cluster=\"$vzcluster\"} and on(pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024,0.01))", 1200 "refId": "StandardVariableQuery" 1201 }, 1202 "refresh": 2, 1203 "regex": ".*\\s(.*?)\\s.*", 1204 "skipUrlSync": false, 1205 "sort": 0, 1206 "tagValuesQuery": "", 1207 "tags": [], 1208 "tagsQuery": "", 1209 "type": "query", 1210 "useTags": false 1211 }, 1212 { 1213 "allValue": null, 1214 "current": {}, 1215 "datasource": null, 1216 "definition": "query_result(round(sum(kube_pod_spec_volumes_persistentvolumeclaims_info{verrazzano_cluster=\"$vzcluster\"} * on(persistentvolumeclaim, namespace) group_left kubelet_volume_stats_available_bytes{verrazzano_cluster=\"$vzcluster\"} and on(pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024,0.01))", 1217 "description": null, 1218 "error": null, 1219 "hide": 2, 1220 "includeAll": false, 1221 "label": null, 1222 "multi": false, 1223 "name": "available_pvc", 1224 "options": [], 1225 "query": { 1226 "query": "query_result(round(sum(kube_pod_spec_volumes_persistentvolumeclaims_info{verrazzano_cluster=\"$vzcluster\"} * on(persistentvolumeclaim, namespace) group_left kubelet_volume_stats_available_bytes{verrazzano_cluster=\"$vzcluster\"} and on(pod) kube_pod_labels{verrazzano_cluster=~\"$vzcluster\", label_app_oam_dev_name != \"\", label_app_oam_dev_name=\"$application\", label_app_oam_dev_component=~\"$component\"})/1024/1024/1024,0.01))", 1227 "refId": "StandardVariableQuery" 1228 }, 1229 "refresh": 2, 1230 "regex": ".*\\s(.*?)\\s.*", 1231 "skipUrlSync": false, 1232 "sort": 0, 1233 "tagValuesQuery": "", 1234 "tags": [], 1235 "tagsQuery": "", 1236 "type": "query", 1237 "useTags": false 1238 }, 1239 { 1240 "allValue": null, 1241 "current": {}, 1242 "datasource": null, 1243 "definition": "query_result(round(sum (count without (cpu, mode) (node_cpu_seconds_total{job=\"node-exporter\",mode=\"idle\",verrazzano_cluster=\"$vzcluster\"}) - ((1 - avg without (cpu) (sum without (mode) (rate(node_cpu_seconds_total{job=\"node-exporter\",mode=~\"idle|iowait|steal\",verrazzano_cluster=\"$vzcluster\"}[5m])))) * count without (cpu, mode) (node_cpu_seconds_total{job=\"node-exporter\",mode=\"idle\",verrazzano_cluster=\"$vzcluster\"}))),0.01))", 1244 "description": null, 1245 "error": null, 1246 "hide": 2, 1247 "includeAll": false, 1248 "label": null, 1249 "multi": false, 1250 "name": "available_cpu", 1251 "options": [], 1252 "query": { 1253 "query": "query_result(round(sum (count without (cpu, mode) (node_cpu_seconds_total{job=\"node-exporter\",mode=\"idle\",verrazzano_cluster=\"$vzcluster\"}) - ((1 - avg without (cpu) (sum without (mode) (rate(node_cpu_seconds_total{job=\"node-exporter\",mode=~\"idle|iowait|steal\",verrazzano_cluster=\"$vzcluster\"}[5m])))) * count without (cpu, mode) (node_cpu_seconds_total{job=\"node-exporter\",mode=\"idle\",verrazzano_cluster=\"$vzcluster\"}))),0.01))", 1254 "refId": "StandardVariableQuery" 1255 }, 1256 "refresh": 2, 1257 "regex": ".*\\s(.*?)\\s.*", 1258 "skipUrlSync": false, 1259 "sort": 0, 1260 "tagValuesQuery": "", 1261 "tags": [], 1262 "tagsQuery": "", 1263 "type": "query", 1264 "useTags": false 1265 }, 1266 { 1267 "allValue": null, 1268 "current": {}, 1269 "datasource": null, 1270 "definition": "query_result(round(sum(node_memory_MemAvailable_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} or (node_memory_Buffers_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} + node_memory_Cached_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} + node_memory_MemFree_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} + node_memory_Slab_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"}))/1024/1024/1024,0.01))", 1271 "description": null, 1272 "error": null, 1273 "hide": 2, 1274 "includeAll": false, 1275 "label": null, 1276 "multi": false, 1277 "name": "available_memory", 1278 "options": [], 1279 "query": { 1280 "query": "query_result(round(sum(node_memory_MemAvailable_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} or (node_memory_Buffers_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} + node_memory_Cached_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} + node_memory_MemFree_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"} + node_memory_Slab_bytes{job=\"node-exporter\",verrazzano_cluster=\"$vzcluster\"}))/1024/1024/1024,0.01))", 1281 "refId": "StandardVariableQuery" 1282 }, 1283 "refresh": 2, 1284 "regex": ".*\\s(.*?)\\s.*", 1285 "skipUrlSync": false, 1286 "sort": 0, 1287 "tagValuesQuery": "", 1288 "tags": [], 1289 "tagsQuery": "", 1290 "type": "query", 1291 "useTags": false 1292 }, 1293 { 1294 "allValue": null, 1295 "current": {}, 1296 "datasource": null, 1297 "definition": "query_result(round(sum(node_filesystem_avail_bytes{mountpoint=\"/\", verrazzano_cluster=\"$vzcluster\"})/1024/1024/1024,0.01))", 1298 "description": null, 1299 "error": null, 1300 "hide": 2, 1301 "includeAll": false, 1302 "label": null, 1303 "multi": false, 1304 "name": "available_storage", 1305 "options": [ 1306 { 1307 "selected": true, 1308 "text": "65.15", 1309 "value": "65.15" 1310 } 1311 ], 1312 "query": { 1313 "query": "query_result(round(sum(node_filesystem_avail_bytes{mountpoint=\"/\", verrazzano_cluster=\"$vzcluster\"})/1024/1024/1024,0.01))", 1314 "refId": "StandardVariableQuery" 1315 }, 1316 "refresh": 0, 1317 "regex": ".*\\s(.*?)\\s.*", 1318 "skipUrlSync": false, 1319 "sort": 0, 1320 "tagValuesQuery": "", 1321 "tags": [], 1322 "tagsQuery": "", 1323 "type": "query", 1324 "useTags": false 1325 } 1326 ] 1327 }, 1328 "time": { 1329 "from": "now-5m", 1330 "to": "now" 1331 }, 1332 "timepicker": {}, 1333 "timezone": "", 1334 "title": "Application Status", 1335 "uid": "gwdOx4h4z4345er", 1336 "version": 2 1337 }